package org.xaviera.convert;

public class ObjectConverter implements Converter<Object> {

	@Override
	public Object convert(String value) throws ConversionException {
		throw new ConversionException(
			"ObjectConverter cannot be used for String to Object conversion. " +
			"Please choose the appropriate converter or implement your own."
		);
	}

	@Override
	public String convert(Object value) {
		return value.toString();
	}

}
